home *** CD-ROM | disk | FTP | other *** search
- /* @(#)unls.h 1.1 00/03/25 2000 J. Schilling */
- /*
- * Modifications to make the code portable Copyright (c) 2000 J. Schilling
- *
- * Code taken from the Linux kernel.
- */
- /*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; see the file COPYING. If not, write to
- * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
- */
-
- #ifndef _UNLS_H
- #define _UNLS_H
-
- #ifndef _MCONFIG_H
- #include <mconfig.h>
- #endif
-
- struct nls_unicode {
- unsigned char uni1;
- unsigned char uni2;
- };
-
- struct nls_table {
- char *charset;
- unsigned char **page_uni2charset;
- struct nls_unicode *charset2uni;
-
- void (*inc_use_count) __PR((void));
- void (*dec_use_count) __PR((void));
- struct nls_table *next;
- };
-
- extern int init_nls __PR((void));
- extern int register_nls __PR((struct nls_table *));
- extern int unregister_nls __PR((struct nls_table *));
- extern struct nls_table *find_nls __PR((char *));
- extern void list_nls __PR((void));
- extern struct nls_table *load_nls __PR((char *));
- extern void unload_nls __PR((struct nls_table *));
- extern struct nls_table *load_nls_default __PR((void));
-
- #endif /* _UNLS_H */
-